---@class Selector:AbstractComposite
Selector = ClientFight.CreateClass("Selector",ClientFight.AbstractComposite,ClientFight.ISelector)
function Selector:update()
    for k,child in pairsByKeys(self.children) do
        local state = child:update()
        if state ~= EStatus.FAILURE then
            return state
        end
    end
    return EStatus.FAILURE
end